package com.dmjj.common.constant;

public interface Constans {
    public static final String APPID = "wx3810fac87c8c379e";
    public static final String SECRET = "4719f1333f890e106551f5ac23500609";

    public static final String SUFFIX = "DMJJ";

    /**登录凭证校验。通过 wx.login() 接口获得临时登录凭证 code 后传到开发者服务器调用此接口完成登录流程*/
    public static final String CODE2SESSION = "https://api.weixin.qq.com/sns/jscode2session";

    /**获取小程序全局唯一后台接口调用凭据（access_token）。*/
    public static final String ACCESSTOKENURL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid="
            + APPID+"&secret="+ Constans.SECRET;

    /**发送模板消息URL*/
    public static final String SENDTEMPLATEMESSAGEURL= "POST https://api.weixin.qq.com/cgi-bin/message/wxopen/template/send?access_token=";

    /**模板id1*/
    public static final String TEMPLATE1 = "";

    /**微信公众号授权URL*/
    public static final String WEIAUTHURL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid="+ APPID+"&secret="
            + Constans.SECRET+"&grant_type=authorization_code&code=";


}
